﻿<?php

$dsn = 'mysql:dbname=test;host=localhost;charset=utf8';
$user = 'root';
$pwd = 'TI960TI960hl0mpDn';

$shipping_cost = 10.0; //运费
//税费
//$taxes = array(
//      '增值税' => 12,
//        '普税' => 7
// );

try {
    $dbh = new PDO($dsn, $user, $pwd);
} catch (PDOException $e) {
    echo '数据库连接错误' . $e->getMessage();
}

